package com.project.entity.db;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "列定义")
public class Col {
    @ApiModelProperty(value = "列名", required = true)
    private String columnName;

    @ApiModelProperty(value = "列类型", required = true)
    private String type;

    @ApiModelProperty(value = "列长度")
    private Integer length;

    @ApiModelProperty(value = "是否非空约束")
    private String choose;

    @ApiModelProperty(value = "备注")
    private String note;
}
